﻿using System;
using System.Collections.Generic;
using System.Text;
using FwProject.Core.Restaurant;
using FwProject.Core.SettlementInfoModel;

namespace FwProject.Distribution.Dto
{
    public class ReceivableSummaryDto
    {
        /// <summary>
        /// 配送编号
        /// </summary>
        public Guid DisId { get; set; }
        /// <summary>
        /// 收据编号
        /// </summary>
        public Guid SettlementId { get; set; }
        /// <summary>
        /// 餐厅编号
        /// </summary>
        //public Guid RestaurantId { get; set; }
        /// <summary>
        /// 餐厅名称
        /// </summary>
        public string RestaurantName { get; set; }

        public long DriverId { get; set; }

        public string LineName { get; set; }

        public BalanceWayEnum BalanceWay { get; set; }

        public RestaurantPayStatus RestaurantPayStatus { get; set; }

        /// <summary>
        /// 配送日期
        /// </summary>
        public DateTime DistributionDate { get; set; }
        /// <summary>
        /// 配送金额
        /// </summary>
        public decimal DistributionPrice { get; set; }
        /// <summary>
        /// 总优惠
        /// </summary>
        public decimal SumDiscountprice { get; set; }
        /// <summary>
        /// 应收金额
        /// </summary>
        public decimal TotalPrice { get; set; }
        /// <summary>
        /// 已收金额
        /// </summary>
        //public decimal AlreadyReceivedPrice { get; set; }
        /// <summary>
        /// 未收金额
        /// </summary>
        public decimal UncollectedPrice { get; set; }
        /// <summary>
        /// 货品型号
        /// </summary>
        public string TypeNumberName { get; set; }
        /// <summary>
        /// 配送箱数
        /// </summary>
        public int DistributionBoxCount { get; set; }
        /// <summary>
        /// 配送数量
        /// </summary>
        public int DistributionCount { get; set; }
        /// <summary>
        /// 回收箱数
        /// </summary>
        public int RecoveryBoxCount { get; set; }
        /// <summary>
        /// 回收数量
        /// </summary>
        public int RecoveryCount { get; set; }
        /// <summary>
        /// 赠送箱数
        /// </summary>
        public int GiveBoxCount { get; set; }
        /// <summary>
        /// 赠送数量
        /// </summary>
        public int GiveCount { get; set; }
        /// <summary>
        /// 换货箱数
        /// </summary>
        public int ExChangeBoxCount { get; set; }
        /// <summary>
        /// 换货数量
        /// </summary>
        public int ExChangeCount { get; set; }
        /// <summary>
        /// 退回箱数
        /// </summary>
        public int BackBoxCount { get; set; }
        /// <summary>
        /// 退回数量
        /// </summary>
        public int BackCount { get; set; }
        /// <summary>
        /// 折损数量
        /// </summary>
        public int DamageCount { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal UnitPrice { get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public decimal Price { get; set; }
    }
}
